const body100VH = {
  methods: {
    body100VH(p) {
      if (p) {
        window.scrollTo(0, 0)
        document.body.style.height = '100vh'
        document.body.style.overflow = 'hidden'
      } else {
        document.body.style.height = 'auto'
        document.body.style.overflow = 'visible'
      }
    },
  },
}

export default body100VH
